pp108 : Controls Available for Creating Property Sheets

Controls Available for Creating Property Sheets


The property sheet of a control contains options that you can use to set its design-time and run-time properties. As with other XForms controls, composite controls can also be associated with a property sheet.

You can create a property sheet for your composite control, by clicking for the Property Sheet field in the Untitled Composite Control - Composite Control wizard, and designing the property sheet interface in the Untitled User Interface - User Interface window that appears.

The Toolbox tab in the Untitled User Interface - User Interface window displays the controls that are commonly used in property sheets. Click these controls or drag them to the Designer Area to add them to the property sheet.

The controls available for creating a property sheet for a composite control are as follows:

  • Date: Adds a calendar control to the property sheet.
  • Event: Adds a field with a look-up button to the property sheet. At runtime, it displays a drop-down list along with a look-up button. Clicking the look-up button creates a dummy function for the event in the Script Editor.
  • Id: Adds an input field withidas its label.
  • Model: Adds a Model drop-down list to the property sheet. At runtime, the drop-down list displays the models associated with the XForm to which the composite control is added.
  • Reference: Adds a Reference field to the property sheet.
  • Webservice: Adds a Webservice field with a look-up button to the property sheet. At run time, it opens the Web Services window that displays all available Web services.
  • XML: Adds an output field with a look-up button. At runtime, you can click the look-up button and provide XML in the XML Editor window that appears.

Each of the above controls is associated with a property sheet. The following options available in the property sheet govern the behavior of the controls.

Input UI

Description

ID

Refers to a unique identifier for the control. It is possible to modify the auto-generated IDs.

Reference

Refers to the reference of the control. In case of Event control, the reference represents the event name.

Note:
It is not possible to modify the Reference for the Id, Model, and Reference controls.

Display Format

Refers to the display format. For information about possible date formats, see Predefined Formats for Data Type.

Note:
This option is available only for the Date control.